package com.sl.pojo;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.time.LocalDateTime;


@Table(name = "sl_document")
@Data
public class Document implements Serializable {
    //1主键
    @Id
    private Integer id;
    //2唯一识别码
    private String  docUuid;
    //3文件名
    private String  docName;
    //4文件大小
    private Integer  docSize;
    //5文件类型
    private String  docType;
    //6上传时间
    private LocalDateTime uploadTime;
    //7上传者名字
    private String  uploader;
    //8存储类型。个人1或者公开0。默认0
    private Integer  storageType;
    //9地址
    private String  storageUrl;
    //10描述
    private String  docDesc;
    //11是否逻辑删除
    private Integer  deleted;

}


